package com.cloud.code.算法.斐波拉契数列;

public class StudyDemo {

    public static void main(String[] args) {

        long result = getResult(100);
        System.out.println(result);

    }

    public static long getResult(long number) {

        if (number == 0 || number == 1) {
            return number;
        } else {
            return getResult(number - 1) + getResult(number - 2);
        }

    }
}
